package metalink.admin;
import com.opensymphony.xwork2.ActionSupport;
import java.util.*;
import java.sql.*;

import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

import vo.*;
import vo.mixed.*;
import model.admin.*;
import myutil.*;
public class DisplayMyEvents extends ActionSupport {
	ArrayList<EventDetailsVo> events_list=new ArrayList<EventDetailsVo>();
public ArrayList<EventDetailsVo> getEvents_list() {
		return events_list;
	}
	public void setEvents_list(ArrayList<EventDetailsVo> events_list) {
		this.events_list = events_list;
	}
public String execute(){
	
	HttpSession session = ServletActionContext.getRequest().getSession();
	String username=session.getAttribute("username").toString();
	events_list=new DisplayMyEventsMo().display(username);
	return SUCCESS;
}
}
